home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Playboy Electronic Datebook
/
Playboy Electronic Datebook - Disk 1.img
/
VERSION.IN_
/
VERSION.IN
Wrap
Text File
|
1993-10-22
|
2KB
|
48 lines
''************************************************************
''* version.inc
''************************************************************
''(for version function)
CONST REPLACE_QUIET = 0
CONST REPLACE_NOTIFY = 1
CONST INIT_VER_POS = 1
CONST CUR_VER_POS = 2
CONST PAR_FILE_POS = 3
'' User Defined types ----------------------------------------------------------------
TYPE VERSION
FileName AS STRING * 65
InitVer AS STRING * 20
CurVer AS STRING * 20
END TYPE
DECLARE FUNCTION GetFileInitVer(szFilePath$) AS STRING
DECLARE FUNCTION GetFileCurVer(szFilePath$) AS STRING
DECLARE FUNCTION TestRange(szChildInitVer AS STRING, szChildCurVer AS STRING, szParInitVer AS STRING, szParCurVer AS STRING) AS INTEGER
DECLARE FUNCTION TestDupe(szChildInitVer AS STRING, szChildCurVer AS STRING, szParInitVer AS STRING, szParCurVer AS STRING) AS INTEGER
DECLARE FUNCTION Version(szDest$, szIni$, szIniSect$) AS INTEGER
DECLARE FUNCTION ContentVersion(szDest$, szIni$, szIniSect$) AS INTEGER
CONST VER_INI_KEY_THEME = "<THEME>"
CONST INI_KEY_VERSION = "Version"
CONST INI_SECT_CONTENT_VERSION = "Content Version"
CONST INI_SECT_CONTENT_VERSION_APP = "Content Version App"
CONST VERSION_CAPTION = "Version Error"
CONST VERSION_BAD_CONTENT = " is not supported by the application being installed. This content pack cannot be used with this application."
CONST VERSION_BAD_GENERAL = "One or more installed content packs are not supported by this version of the application."
CONST VERSION_QUIT = "Installing this application may cause problems. Do you want to continue?"
CONST VERSION_APPFILE_NC = " is incompatible with the file "
CONST VERSION_APPFILE_OLD = ", which is already installed. This file will not be installed."
CONST VERSION_APPFILE_NEW = " , which needs to be installed. Please update this file."
CONST VERSION_THEMEFILE_OLD = " is an older version than the application being installed will support. Please update this file."
CONST VERSION_THEMEFILE_NEW = " is a newer version than the application being installed will support. Please update the application files."
GLOBAL bDDDInData%
bDDDInData% = 0